home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / sqr.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  5KB  |  154 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  4.  
  5. <!-- SQR Mode by Richard F. Ashwell III  -->
  6. <MODE>
  7.     <PROPS>
  8.         <PROPERTY NAME="lineComment" VALUE="!" />
  9.         <PROPERTY NAME="contextInsensitive" VALUE="true" />
  10.     </PROPS>
  11.  
  12.     <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  13.         <!-- Normal comments. -->
  14.         <EOL_SPAN TYPE="COMMENT1">!</EOL_SPAN>
  15.  
  16.         <!-- Literal String -->    
  17.         <SPAN TYPE="LABEL" NO_LINE_BREAK="TRUE">
  18.             <BEGIN>'</BEGIN>
  19.             <END>'</END>
  20.         </SPAN>    
  21.  
  22.         <!-- SQR Replacement String -->            
  23.         <SPAN TYPE="LABEL" NO_LINE_BREAK="TRUE">
  24.             <BEGIN>[</BEGIN>
  25.             <END>]</END>
  26.         </SPAN>    
  27.         
  28.         <SEQ TYPE="OPERATOR">^</SEQ>
  29.         <SEQ TYPE="OPERATOR">@</SEQ>
  30.         <SEQ TYPE="OPERATOR">:=</SEQ>
  31.         <SEQ TYPE="OPERATOR">=</SEQ>
  32.         <SEQ TYPE="OPERATOR"><></SEQ>
  33.         <SEQ TYPE="OPERATOR">>=</SEQ>
  34.         <SEQ TYPE="OPERATOR"><=</SEQ>
  35.         <SEQ TYPE="OPERATOR">></SEQ>
  36.         <SEQ TYPE="OPERATOR"><</SEQ>
  37.         <SEQ TYPE="OPERATOR">+</SEQ>
  38.         <SEQ TYPE="OPERATOR">/</SEQ>
  39.         <SEQ TYPE="OPERATOR">*</SEQ>
  40.         
  41.         <MARK_FOLLOWING TYPE="LITERAL1">$</MARK_FOLLOWING>
  42.         <MARK_FOLLOWING TYPE="LITERAL2">#</MARK_FOLLOWING>
  43.         <MARK_FOLLOWING TYPE="MARKUP">&</MARK_FOLLOWING>
  44.  
  45.         <KEYWORDS>
  46.             <!-- Section KeyWords -->
  47.             <FUNCTION>begin-procedure</FUNCTION>              
  48.             <FUNCTION>end-procedure</FUNCTION>            
  49.             <FUNCTION>begin-report</FUNCTION>
  50.             <FUNCTION>end-report</FUNCTION>
  51.             <FUNCTION>begin-heading</FUNCTION>
  52.             <FUNCTION>end-heading</FUNCTION>
  53.             <FUNCTION>begin-setup</FUNCTION>
  54.             <FUNCTION>end-setup</FUNCTION>
  55.             <FUNCTION>begin-footing</FUNCTION>
  56.             <FUNCTION>end-footing</FUNCTION>
  57.             <FUNCTION>begin-program</FUNCTION>
  58.             <FUNCTION>end-program</FUNCTION>
  59.  
  60.             <!-- Block Keywords -->
  61.             <KEYWORD1>begin-select</KEYWORD1>
  62.             <KEYWORD1>end-select</KEYWORD1>
  63.             <KEYWORD1>begin-sql</KEYWORD1>
  64.             <KEYWORD1>end-sql</KEYWORD1>
  65.             
  66.             <!-- SQR Functional Keywords -->
  67.             <KEYWORD2>add</KEYWORD2> 
  68.             <KEYWORD2>array-add</KEYWORD2> 
  69.             <KEYWORD2>array-divide</KEYWORD2> 
  70.             <KEYWORD2>array-multiply</KEYWORD2> 
  71.             <KEYWORD2>array-subtract</KEYWORD2> 
  72.             <KEYWORD2>ask</KEYWORD2>
  73.             <KEYWORD2>break</KEYWORD2>
  74.             <KEYWORD2>call</KEYWORD2> 
  75.             <KEYWORD2>clear-array</KEYWORD2> 
  76.             <KEYWORD2>close</KEYWORD2> 
  77.             <KEYWORD2>columns</KEYWORD2> 
  78.             <KEYWORD2>commit</KEYWORD2> 
  79.             <KEYWORD2>concat</KEYWORD2> 
  80.             <KEYWORD2>connect</KEYWORD2> 
  81.             <KEYWORD2>create-array</KEYWORD2>
  82.             <KEYWORD2>date-time</KEYWORD2> 
  83.             <KEYWORD2>display</KEYWORD2> 
  84.             <KEYWORD2>divide</KEYWORD2> 
  85.             <KEYWORD2>do</KEYWORD2> 
  86.             <KEYWORD2>dollar-symbol</KEYWORD2>
  87.             <KEYWORD2>else</KEYWORD2> 
  88.             <KEYWORD2>encode</KEYWORD2> 
  89.             <KEYWORD2>end-evaluate</KEYWORD2> 
  90.             <KEYWORD2>end-if</KEYWORD2> 
  91.             <KEYWORD2>end-while</KEYWORD2> 
  92.             <KEYWORD2>evaluate</KEYWORD2> 
  93.             <KEYWORD2>execute</KEYWORD2> 
  94.             <KEYWORD2>extract</KEYWORD2>
  95.             <KEYWORD2>find</KEYWORD2> 
  96.             <KEYWORD2>font</KEYWORD2>
  97.             <KEYWORD2>get</KEYWORD2> 
  98.             <KEYWORD2>goto</KEYWORD2> 
  99.             <KEYWORD2>graphic</KEYWORD2>
  100.             <KEYWORD2>if</KEYWORD2>
  101.             <KEYWORD2>last-page</KEYWORD2> 
  102.             <KEYWORD2>let</KEYWORD2> 
  103.             <KEYWORD2>lookup</KEYWORD2> 
  104.             <KEYWORD2>lowercase</KEYWORD2>
  105.             <KEYWORD2>money-symbol</KEYWORD2> 
  106.             <KEYWORD2>move</KEYWORD2> 
  107.             <KEYWORD2>multiply</KEYWORD2>
  108.             <KEYWORD2>new-page</KEYWORD2> 
  109.             <KEYWORD2>new-report</KEYWORD2> 
  110.             <KEYWORD2>next-column</KEYWORD2> 
  111.             <KEYWORD2>next-listing</KEYWORD2> 
  112.             <KEYWORD2>no-formfeed</KEYWORD2>
  113.             <KEYWORD2>open</KEYWORD2>
  114.             <KEYWORD2>page-number</KEYWORD2> 
  115.             <KEYWORD2>page-size</KEYWORD2> 
  116.             <KEYWORD2>position</KEYWORD2> 
  117.             <KEYWORD2>print</KEYWORD2> 
  118.             <KEYWORD2>print-bar-code</KEYWORD2> 
  119.             <KEYWORD2>print-chart</KEYWORD2> 
  120.             <KEYWORD2>print-direct</KEYWORD2> 
  121.             <KEYWORD2>print-image</KEYWORD2> 
  122.             <KEYWORD2>printer-deinit</KEYWORD2> 
  123.             <KEYWORD2>printer-init</KEYWORD2> 
  124.             <KEYWORD2>put</KEYWORD2>
  125.             <KEYWORD2>read</KEYWORD2> 
  126.             <KEYWORD2>rollback</KEYWORD2>
  127.             <KEYWORD2>show</KEYWORD2> 
  128.             <KEYWORD2>stop</KEYWORD2> 
  129.             <KEYWORD2>string</KEYWORD2> 
  130.             <KEYWORD2>subtract</KEYWORD2>
  131.             <KEYWORD2>unstring</KEYWORD2> 
  132.             <KEYWORD2>uppercase</KEYWORD2> 
  133.             <KEYWORD2>use</KEYWORD2> 
  134.             <KEYWORD2>use-column</KEYWORD2> 
  135.             <KEYWORD2>use-printer-type</KEYWORD2> 
  136.             <KEYWORD2>use-procedure</KEYWORD2> 
  137.             <KEYWORD2>use-report</KEYWORD2> 
  138.             <KEYWORD2>use-report</KEYWORD2>
  139.             <KEYWORD2>while</KEYWORD2> 
  140.             <KEYWORD2>write</KEYWORD2>
  141.             <KEYWORD2>to</KEYWORD2>
  142.  
  143.             <!-- SQL Keywords -->
  144.              <KEYWORD3>from</KEYWORD3>
  145.             <KEYWORD3>where</KEYWORD3>
  146.             <KEYWORD3>and</KEYWORD3>
  147.             <KEYWORD3>between</KEYWORD3>
  148.             <KEYWORD3>or</KEYWORD3>
  149.             <KEYWORD3>in</KEYWORD3>
  150.             
  151.         </KEYWORDS>
  152.     </RULES>
  153. </MODE>
  154.